Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds Taraxa staking and tvl adapter #12651

Closed
wants to merge 1 commit into from

Conversation

rattrap
Copy link

@rattrap rattrap commented Dec 10, 2024

Name (to be shown on DefiLlama):

Taraxa

Twitter Link:

https://x.com/taraxa_project

List of audit links if any:

https://www.halborn.com/audits/taraxa/node-and-evm-l1-security-assessment

Website Link:

https://taraxa.io/

Logo (High resolution, will be shown with rounded borders):

https://drive.google.com/file/d/1dnhJ9rdzFT9PRYp0r7wXkg3nIJNpIl0M/view?usp=sharing

Current TVL:

7182603238 TARA ($69.937.000)

Treasury Addresses (if the protocol has treasury)

0x10f4fd4d9856efd5700f0cb70b90bf519a3cd238

Chain:

Taraxa (841)

Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed):

taraxa

Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed):

8715

Short Description (to be shown on DefiLlama):

PoS, blockDAG, EVM-compatible Layer-1

Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one:

Chain

Github org/user (Optional, if your code is open source, we can track activity):

Taraxa-project


async function tvl(api) {
const balanceEcosystem = await api.provider.getBalance(
TARAXA_ECOSYSTEM_FUND_ADDRESS,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this your treasury address?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Foundation" address is the treasury. This is a community fund.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually both of them count as the project treasury. The foundation tokens are never circulated and the ecosystem fund is for grants (this changes from month to month)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, we can track this under treasury but not as tvl. making the change now

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cant count foundation tokens as it is not circulating

"0x723304d1357a2334fcf902aa3d232f5139080a1b";
const TARAXA_FOUNDATION_ADDRESS = "0x723304d1357a2334fcf902aa3d232f5139080a1b";

async function staking(api) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, we are not tracking chain staking atm

@llamatester
Copy link

The adapter at projects/taraxa exports TVL:

tara-staking              0
tara                      0
staking                   0

total                    0 

@rattrap
Copy link
Author

rattrap commented Dec 10, 2024

@g1nt0ki, have any ideea why it's returning 0 TVL?

@g1nt0ki
Copy link
Member

g1nt0ki commented Dec 10, 2024

fixed it here: a52c1fb

@g1nt0ki g1nt0ki closed this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants